package com.kongjs.application.model.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class OrderDTO {
    private Long id;
    private String orderId;
    private String status; // PENDING_PICKUP, PICKED, IN_TRANSIT, OUT_FOR_DELIVERY, DELIVERED
    private LocalDateTime createTime;
    private LocalDateTime pickupTime;
    private LocalDateTime deliveryTime;
    private LocalDateTime completeTime;
    private SenderDTO sender;
    private ReceiverDTO receiver;
    private CourierDTO pickupCourier;
    private CourierDTO deliveryCourier;
    /*
     * 物品信息
     * 托寄物  数量 件数 计费类型 计费重量 实际重量 产品类型 付费方式
     * */
    private String consignment;
    private Integer quantity;
    private Integer pieces;
    private String billingType;
    private String billingWeight;
    private String actualWeight;
    private String productType;
    private String paymentMethod;
    /*
     * 运费
     * */
    private BigDecimal shippingCost;
}
